<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:MASC_Profile="http:///schemas/MASC_Profile/_OnYS4BTgEd6yO-ZURVEtWw/6"
     xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
     xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML"
     xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
     xmlns:masc-gp="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-gp"
     xmlns:masc-se="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-se"
     xmlns:masc-ex="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-ex"
     xmlns:masc-om="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-om"
     xmlns:masc-sc="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-sc"
     xmlns:masc-ap="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-ap"
     xmlns:masc-mp="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-mp"
     xmlns:masc-up="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/masc-up"
     xmlns:masc-config="http://www.nicta.com.au/projects/armature/masc-config"
     xmlns:wsa="http://www.sce.unsw.edu.au/~vtosic/ws-policy4masc/wsa"
     xmlns:QoSOntology="http://www.myontologyrepository.com/qosontology.owl"
     xmlns:tns="${currentFileURL}" xmlns:xs="http://www.w3.org/2001/XMLSchema"
     exclude-result-prefixes="xs" version="2.0">
     
    <xsl:import href="GPA_Transform.xsl"/>
    <xsl:import href="MD_Transform.xsl"/>
    <xsl:template match="/">
         <xsl:for-each select="/xmi:XMI/MASC_Profile:Goal_PA">
              <xsl:call-template name="GPA_Trans"/>
         </xsl:for-each>
         <xsl:for-each select="/xmi:XMI/MASC_Profile:MonitoringDef">
              <xsl:call-template name="MD_Trans"/>
         </xsl:for-each>
         <!-- 
         <xsl:apply-templates select="/xmi:XMI/MASC_Profile:Goal_PA"/>
         <xsl:apply-templates select="/xmi:XMI/MASC_Profile:MonitoringDef"/>
         -->
    </xsl:template>
    
    <xsl:template match="/xmi:XMI/MASC_Profile:Goal_PA">
     	<xsl:call-template name="GPA_Trans"/>
    </xsl:template>
    
    <xsl:template match="/xmi:XMI/MonitoringDef">
         <xsl:call-template name="MD_Trans"/>
    </xsl:template>
    <!-- 15 conflicts in GPA_MASCID in "GPA_Transform.xsl" -->
</xsl:stylesheet>